﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PSN_save.aspx.cs" Inherits="TRPOP.CMS.Web.Admin.PSN_save" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>PSN管理-<%=base.m_strBaseAdminPageName%></title>
    <script src="../../js/utils.js" type="text/javascript"></script>
    <script src="../../js/jquery.js" type="text/javascript"></script>
    <script src="../js/jquery.form.js" type="text/javascript"></script>
    <script src="../js/PSN_save.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server" onsubmit="return CheckForm(this);">
    <table id="page_navigator">
        <tr>
            <td class="align_l">
                当前位置：系统管理 -> 发布点(PSN)管理 -> 编辑发布点(PSN)
            </td>
        </tr>
    </table>
    <table class="table_form">
        <tr class="tr_title">
            <th colspan="8" class="align_l">
                编辑发布点(PSN)
            </th>
        </tr>
        <tr class="tr_item">
            <th>
                发布点(PSN)标识名:
            </th>
            <td colspan="6">
                <cms:TextBox ID="txtName" MaxLength="100" runat="server" required="1" prompt="发布点(PSN)标识名"
                    valuelength="20" ControlValueType="String"></cms:TextBox>
                &nbsp; <span class="FontWarn">*</span> <span class="sp_tiptitle">不能超过100个汉字或字符！</span>
            </td>
        </tr>
        <tr class="tr_item">
            <th>
                发布点(PSN)类型:
            </th>
            <td colspan="6">
                <cms:DropDownList ID="ddlType" runat="server" DataTextField="Value" DataValueField="Key">
                </cms:DropDownList>
                &nbsp;
            </td>
        </tr>
        <tr class="tr_item">
            <th>
                本地路径:
            </th>
            <td colspan="6">
                <cms:TextBox ID="txtRoot" runat="server" required="1" prompt="目录" valuelength="200"
                    Text="/" ControlValueType="String"></cms:TextBox>
                &nbsp; <span class="FontWarn">*</span> <span class="sp_tiptitle">必须以“/”开头,如果目录不存在系统将自动创建.</span>
            </td>
        </tr>
        <tr class="tr_item">
            <th>
                URL:
            </th>
            <td colspan="6">
                <cms:TextBox ID="txtUrl" runat="server" required="1" prompt="域名" valuelength="200"
                    valuetype="Http" Text="http://" ControlValueType="String"> </cms:TextBox>
                &nbsp;<cms:HiddenField ID="hidURL" runat="server" />
                <span class="FontWarn">*</span> <span class="sp_tiptitle">必须以“http://”开头</span>
            </td>
        </tr>
        <tr class="tr_item">
            <th>
                附加信息:
            </th>
            <td colspan="6">
                <cms:TextBox ID="txtDescription" Columns="50" Rows="5" Height="200px" TextMode="MultiLine"
                    runat="server" prompt="描述" valuelength="500" ControlValueType="String"></cms:TextBox>
                &nbsp;
            </td>
        </tr>
        <tr class="tr_item hide" style="display: none">
            <td>
                扩展信息
            </td>
            <td colspan="6">
                <cms:TextBox ID="txtXML" Height="200px" TextMode="MultiLine" runat="server" prompt="扩展信息"
                    valuelength="500" ControlValueType="String"></cms:TextBox>
                <span class="sp_tiptitle">可以为空，输入的格式需要是xml格式！</span>
            </td>
        </tr>
        <tr class="tr_item">
            <th>
            </th>
            <td colspan="7" class="td_c">
                <cms:Button CssClass="button_style" ID="btnSubmit" Text="确定" runat="server" OnClick="btnSubmit_Click"
                    OnClientClick="return checkURL();" />
                &nbsp;&nbsp;&nbsp;&nbsp;
                <input class="button_style" type="reset" name="btreset" value=" 重 置 " />
                &nbsp;&nbsp;&nbsp;&nbsp;
                <input class="button_style" type="button" onclick="window.location.href='PSN_list.aspx';"
                    name="btreset" value=" 返  回 " />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
